package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 审批类型详细表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "approval_type_detail")
public class ApprovalTypeDetail {
    /**
     * 主键ID
     */
    @TableId(value = "detail_id", type = IdType.INPUT)
    private Integer detailId;

    /**
     * 审批类型ID
     */
    @TableField(value = "type_id")
    private Integer typeId;

    /**
     * 顺序，审批顺序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 用户编号
     */
    @TableField(value = "user_id")
    private Integer userId;
}